package com.google.android.gms.wallet;

import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.identity.intents.model.CountrySpecification;
import java.util.ArrayList;

public final class MaskedWalletRequest implements SafeParcelable {
    public static final Creator<MaskedWalletRequest> CREATOR = new l();
    String aiL;
    String aiR;
    boolean ajF;
    boolean ajG;
    boolean ajH;
    String ajI;
    String ajJ;
    boolean ajK;
    boolean ajL;
    CountrySpecification[] ajM;
    boolean ajN;
    boolean ajO;
    ArrayList<CountrySpecification> ajP;
    Cart aja;
    private final int xM;

    MaskedWalletRequest() {
        this.xM = 3;
        this.ajN = true;
        this.ajO = true;
    }

    MaskedWalletRequest(int versionCode, String merchantTransactionId, boolean phoneNumberRequired, boolean shippingAddressRequired, boolean useMinimalBillingAddress, String estimatedTotalPrice, String currencyCode, String merchantName, Cart cart, boolean shouldRetrieveWalletObjects, boolean isBillingAgreement, CountrySpecification[] allowedShippingCountrySpecifications, boolean allowPrepaidCard, boolean allowDebitCard, ArrayList<CountrySpecification> allowedCountrySpecificationsForShipping) {
        this.xM = versionCode;
        this.aiR = merchantTransactionId;
        this.ajF = phoneNumberRequired;
        this.ajG = shippingAddressRequired;
        this.ajH = useMinimalBillingAddress;
        this.ajI = estimatedTotalPrice;
        this.aiL = currencyCode;
        this.ajJ = merchantName;
        this.aja = cart;
        this.ajK = shouldRetrieveWalletObjects;
        this.ajL = isBillingAgreement;
        this.ajM = allowedShippingCountrySpecifications;
        this.ajN = allowPrepaidCard;
        this.ajO = allowDebitCard;
        this.ajP = allowedCountrySpecificationsForShipping;
    }

    public int describeContents() {
        return 0;
    }

    public int getVersionCode() {
        return this.xM;
    }

    public void writeToParcel(Parcel dest, int flags) {
        l.a(this, dest, flags);
    }
}
